package com.wjh.anyview.websocket.entity.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author wjh
 * @date 2021/10/9 15:35
 * @Package com.wjh.anyview.websocket.entity.dto
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultMessage {
    /**
     * 是否为系统消息
     */
    private boolean systemMessage;
    /**
     * 发送方
     */
    private String from;
    /**
     * 消息内容
     */
    private Object message;
}
